export const CONTROLLER_URL =
  "https://shm.hudongmiao.com/hm-remotecontrol/#/controller"; //遥控器地址

// export const GAME_URL = "http://192.168.66.117:80/#/" //游戏地址
export const GAME_URL = "https://www.hudongmiao.com/planeBattle/index.html#/"; //游戏地址
export const RUN_GAME_URL = "https://www.hudongmiao.com/templeEscape/index.html"; //游戏地址

export const TEST_CONTROLLER_URL = "http://192.168.66.88:80/#/controller";

const SHARE_SETS = {
  labor: "https://ustatic.hudongmiao.com/joymew-assist/share/labor.jpg",
  May: "https://ustatic.hudongmiao.com/joymew-assist/share/May.png",
  pttq : "https://ustatic.hudongmiao.com/joymew-assist/share/pttq.png",
};

// 修改分享图
export const getSharePng = (assign) => {
  let share2 = "https://ustatic.hudongmiao.com/joymew-assist/share/share2.jpg";
  let share3 = "https://ustatic.hudongmiao.com/joymew-assist/share/share3.jpg";
  if (assign) {
    return SHARE_SETS[assign];
  }

  let random = Math.random() > 0.5;
  return random ? share3 : share2;
};

export const LOGIN_HOST = "https://x.hudongmiao.com/";
export const API_HOST = "https://www.hudongmiao.com/";
// export const API_HOST = "http://192.168.66.119:8020/";
// 域名后的斜杠/要保留

export const SHOW_COUNT = 10;

export const WEDDING_STATUS = {
  not_start: "未开始",
  in_progress: "进行中",
  finished: "已礼成",
};
export const SCENARIO = {
  '0': "婚礼版",
  '91': "中式婚礼版",
  '1': "企业版",
  '2': "生日版",
  '21': "生日版",
  '22': "生日版",
  '23': "生日版",
  '41': "校园版",
  '42': "校园版",
  '43': "校园版",
  '51': "其他版",
  '52': "其他版",
  '53': "其他版",
  'default': "标准版",
};
export const SCENARIOCLASSNAME = {
  '0': "hd-item-wedding",
  '1': "hd-item-meeting",
  '2': "hd-item-birthday",
  '21': "hd-item-birthday",
  '22': "hd-item-birthday",
  '23': "hd-item-birthday",
  '41': "hd-item-school",
  '42': "hd-item-school",
  '43': "hd-item-school",
  '51': "hd-item-school",
  '52': "hd-item-school",
  '53': "hd-item-school",
  'default': "",
};
export const WITHDRAW_TYPE = {
  1: "礼",
  2: "红",
  3: "邀",
};
export const TYPE = {
  1: "自动到账",
  2: "手动提现",
};
export const HINT = {
  1: "礼物",
  2: "红包",
  3: "邀请",
};

export const typeToMap = (type) =>{

  let typeMapScene = {
    '1': '婚礼',
    '2': '寿宴',
    '3': '宝宝宴',
    '4': '活动',
    '5': '彩排',
    '6': '试妆',
    '7': '约见',
    '8': '会议',
    '9': '约拍',
    '10': '其他',
  }
  return typeMapScene[type]??'未定义'
}


export const cusTabBar  = !true;



